package com.cms.service.Impl;

import com.cms.entity.auction_record;
import com.cms.mapper.auction_recordMapper;
import com.cms.service.auction_recordService;

import java.util.List;

public class auction_recordServiceImpl implements auction_recordService {


    private auction_recordMapper mapper;

    @Override
    public List<auction_record> findAllAuction_record() {
        return mapper.findAllAuction_record();
    }

    @Override
    public auction_record findAuction_recordById(int id) {
        return null;
    }
//删除
    @Override
    public int deleteAuction_recordById(int id) {
        return 0;
    }

    @Override
    public int addAuction_record(auction_record auction_record) {
        return mapper.addAuction_record(auction_record);
    }

    public auction_recordMapper getMapper() {
        return mapper;
    }
    public void setMapper(auction_recordMapper mapper) {
        this.mapper = mapper;
    }
}
